#ifndef WIREBASE_H
#define WIREBASE_H

#include <QPoint>
#include <QObject>
//#include "funcblockbase.h"
#include "pinbase.h"

//class FuncBlockBase;
class PinBase;

class WireBase //: public QObject
{
    //Q_OBJECT
public:
    WireBase();
    //void setStart(QPoint start) {startPos = start;}
	//void setEnd(QPoint end) {endPos = end; bComplete = true;}
    //QPoint start() {return startPos;};
	//QPoint* rstart() {return &startPos;};
    //QPoint end() {return endPos;};
	//QPoint* rend() {return &endPos;};
	bool isComplete() {return bComplete;};
	PinBase *startPin;
	PinBase *endPin;
    unsigned int netidx;
	void setComplete() {bComplete = true;};

private:
    //QPoint startPos;
    //QPoint endPos;
    bool bComplete;

signals:

public slots:

};

#endif // WIREBASE_H
